package nc.tb.bc.entryquery;

import nc.ui.pub.beans.UIRefPane;

public class EntryQueryRefPane extends UIRefPane {

	private IQueryWindowDlg m_parent = null;
	private int row;
	private int col;
	
	public EntryQueryRefPane(IQueryWindowDlg parent) {
		super();
		m_parent = parent;
		setEditable(false);
//		getUIButton().setIcon(new ImageIcon(getClass().getResource("/images/ntbimage/STARTED.PNG")));
	}
	
	public void setPosition(int _row, int _col) {
		row = _row;
		col = _col;
	}
	
	public void onButtonClicked() {
		m_parent.onQueryNext(row, col);
	}
}
